﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using ChatData;
using System.Net.Sockets;

namespace Client
{
    /// <summary>
    /// Processes incoming messages from the Server
    /// </summary>
    class Process
    {
        public static ReturnArgs Message(Stream thestream){
            string thetype = Utils.GetString(thestream);
            ReturnArgs result = new ReturnArgs();
            string value = Utils.GetString(thestream);
            result.Add(thetype, value);
            return result;
        }

        
    }
    public class ReturnArgs : Dictionary<String, String> { }
}
